Package-level declarations

Types

Link copied to clipboard

Provides a unique, stable application identifier to namespace shared resources (temp files, locks, properties) and avoid conflicts when multiple apps use this library on the same machine.

Link copied to clipboard

Utility functions for rendering Composable icons to image files for use in system tray.

Link copied to clipboard
data class IconRenderProperties(val sceneWidth: Int = 192, val sceneHeight: Int = 192, val sceneDensity: <Error class: unknown class> = Density(2f), val targetWidth: Int = 192, val targetHeight: Int = 192)

Properties for rendering a Composable icon.

Link copied to clipboard

Utility class for calculating a hash of menu content to detect changes

Link copied to clipboard

Singleton object to manage the single instance of an application.

Link copied to clipboard
data class TrayClickPosition(val x: Int, val y: Int, val position: TrayPosition)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Functions

Link copied to clipboard

OS → Tray corner heuristics

Link copied to clipboard
fun getTrayWindowPosition(windowWidth: Int, windowHeight: Int, horizontalOffset: Int = 0, verticalOffset: Int = 0): <Error class: unknown class>

Position globale (sans instance) + offsets

Link copied to clipboard
fun getTrayWindowPositionForInstance(instanceId: String, windowWidth: Int, windowHeight: Int, horizontalOffset: Int = 0, verticalOffset: Int = 0): <Error class: unknown class>

Variante par instance (Windows multi-tray, mac precise) + offsets

Link copied to clipboard
fun isMenuBarInDarkMode(): Boolean